﻿using System;

namespace UnityEngine.PostProcessing
{
	// Token: 0x02000113 RID: 275
	public abstract class PostProcessingComponent<T> : PostProcessingComponentBase where T : PostProcessingModel
	{
		// Token: 0x170000AF RID: 175
		// (get) Token: 0x06000664 RID: 1636 RVA: 0x00026640 File Offset: 0x00024840
		// (set) Token: 0x06000665 RID: 1637 RVA: 0x00026648 File Offset: 0x00024848
		public T model { get; internal set; }

		// Token: 0x06000666 RID: 1638 RVA: 0x00026654 File Offset: 0x00024854
		public virtual void Init(PostProcessingContext pcontext, T pmodel)
		{
			this.context = pcontext;
			this.model = pmodel;
		}

		// Token: 0x06000667 RID: 1639 RVA: 0x00026664 File Offset: 0x00024864
		public override PostProcessingModel GetModel()
		{
			return this.model;
		}
	}
}
